package com.example.userprovider.service;

import com.example.userprovider.domain.Member;
import com.example.userprovider.dto.AuthLoginDto;
import com.example.userprovider.dto.LoginTypeEnum;
import org.springframework.stereotype.Service;

/**
 * 手机密码登录
 * @author
 * @date 2021-4-18 23:05
 */
@Service
public class PhonePwdProcessor extends AbstractLogin {
    @Override
    public Integer getLoginType() {
        return LoginTypeEnum.PHONE_PWD.getCode();
    }

    @Override
    public void validate(AuthLoginDto dto) {

    }

    @Override
    public Member doProcessor(AuthLoginDto dto) {
        return null;
    }
}
